﻿#ifndef BESTFREIGHT_H
#define BESTFREIGHT_H

#include <head/g_pch.h>
#include "m_fhs.h"

namespace Ui {
class BestFreight;
}

class BestFreight : public QDialog
{
    Q_OBJECT

public:
    explicit BestFreight(QWidget *parent = 0);
    ~BestFreight();

    void updateProvinces();
    void updateCities();
    void updateView(const QString &city, double mass);

private slots:
    void on_btn_calc_clicked();
    void on_provinces_currentTextChanged(const QString &province);

private:
    Ui::BestFreight *ui;

    QString table;
    QString overTable;
};

#endif // BESTFREIGHT_H
